<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<jsp:include page="/jsp/common/taglibs.jsp"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<jsp:include page="/jsp/common/title.jsp" flush="true">
	<jsp:param value="查询会议" name="title"/>
</jsp:include>
<jsp:include page="/jsp/common/admcommcss.jsp"/>
<jsp:include page="/jsp/common/admcommjs.jsp"/>
</head>
<body>
	<table>
	<s:form method="post" action="query" namespace="/metadmin" id="queryForm">
	<s:hidden name="meetingVO.meetingId" id="meetingVO.meetingId"/>
	<tr>
		<td>
			会议名称
		</td>
		<td>
			<s:textfield name="meetingQueryParasVO.name" id="meetingQueryParasVO.name" size="10"/>
		</td>
	</tr>
	<tr>
		<td>
			城市
		</td>
		<td>
			<s:select list="cities" name="meetingQueryParasVO.cityId_e" emptyOption="true"/>
		</td>
	</tr>
	<tr>
		<td>
			行业
		</td>
		<td>
			<s:select list="industries" name="meetingQueryParasVO.industryId_e" emptyOption="true"/>
		</td>
	</tr>
	<tr>
		<td>
			会议类型
		</td>
		<td>
			<s:select list="meetingTypes" name="meetingQueryParasVO.typeId_e" emptyOption="true"/>
		</td>
	</tr>
	<tr>
		<td colspan="2"><s:submit value="查询"/></td>
	</tr>
	</s:form>
	</table>
	<table style="border-top: 1px; width: 100%;"><tr><td>&nbsp;</td></tr></table>
	<div style="height: 400px; overflow: auto;">
	<table>
	<tr>
		<th width="10%">
			会议名称
		</th>
		<th width="10%">
			会议英文名称
		</th>
		<th width="5%">
			开始日期
		</th>
		<th width="5%">
			结束日期
		</th>
		<th width="15%">
			会议摘要
		</th>
		<th width="5%">
			费用
		</th>
		<th width="5%">
			城市
		</th>
		<th width="10%">
			主办方
		</th>
		<th width="5%">
			创建时间
		</th>
		<th width="5%">
			行业
		</th>
		<th width="5%">
			地点
		</th>
		<th width="5%">
			会议类型
		</th>
		<th width="5%">
			推荐
		</th>
		<th width="5%">&nbsp;</th>
		<th width="5%">&nbsp;</th>
	</tr>
	<s:if test='message != null && message != ""'>
		<tr>
			<td colspan="27"><s:property value="message"/></td>
		</tr>
	</s:if>
	<s:iterator value="meetingList" var="meeting">
	<tr>
		<td>
			<s:property value="#meeting.name" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.nameEn" escapeHtml="true"/>
		</td>
		<td>
			<s:date name="#meeting.startDate" format="yyyy-MM-dd"/>
		</td>
		<td>
			<s:date name="#meeting.endDate" format="yyyy-MM-dd"/>
		</td>
		<td>
			<s:property value="#meeting.abstracT" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.charge" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.city.name" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.organizer" escapeHtml="true"/>
		</td>
		<td>
			<s:date name="#meeting.createTime" format="yyyy-MM-dd HH:mm:ss"/>
		</td>
		<td>
			<s:property value="#meeting.industry.name" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.location" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.meetingType.typeName" escapeHtml="true"/>
		</td>
		<td>
			<s:property value="#meeting.recommend" escapeHtml="true"/>
		</td>
		<td><input type="button" onclick="update('<s:property value="#meeting.meetingId"/>')" value="修改"/></td>
		<td><input type="button" onclick="del('<s:property value="#meeting.meetingId"/>')" value="删除"/></td>
	</tr>
	</s:iterator>
	</table>
	</div>
	<s:form namespace="/metadmin" action="remove" id="removeForm">
		<s:hidden name="meetingVO.meetingId" id="delPrimary"/>
	</s:form>
	<s:form namespace="/metadmin" action="toUpdate" id="updateForm" target="frmUpdate">
		<s:hidden name="meetingVO.meetingId" id="updPrimary"/>
	</s:form>
</body>
</html>